

import org.annoflow.policy.Policy;
import org.annoflow.policy.UserInputPolicy;

public class UserForm {
	
	private int id;
	
	@Policy(policy=UserInputPolicy.class)
	private String name;
	
	@Policy(policy=UserInputPolicy.class)
	private String greeting;
	
	public UserForm(int i, String n, String g) {
		this.id = i;
		this.name = n;
		this.greeting = g;
	}
	
	public String getName() {
		return name;
	}
	
	public String getGreeting() {
		return greeting;
	}
	
	protected int getId() {
		return id;
	}
	
	public String toString() {
		return greeting + " " + name;
	}
}
